/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Iothub.Model
{

    /// <summary>
    ///  deviceVO
    /// </summary>
    public class DeviceVO
    {

        ///<summary>
        /// 设备ID
        ///</summary>
        public string DeviceId{ get; set; }
        ///<summary>
        /// 设备名称
        ///</summary>
        public string DeviceName{ get; set; }
        ///<summary>
        /// 父级设备Id
        ///</summary>
        public string ParentId{ get; set; }
        ///<summary>
        /// 设备类型，同产品类型，0-普通设备，1-网关，2-Edge
        ///</summary>
        public string DeviceType{ get; set; }
        ///<summary>
        /// 设备状态，0-未激活，1-激活离线，2-激活在线
        ///</summary>
        public int? Status{ get; set; }
        ///<summary>
        /// 产品Key
        ///</summary>
        public string ProductKey{ get; set; }
        ///<summary>
        /// 设备标识符
        ///</summary>
        public string Identifier{ get; set; }
        ///<summary>
        /// 设备秘钥
        ///</summary>
        public string Secret{ get; set; }
        ///<summary>
        /// 设备描述
        ///</summary>
        public string Description{ get; set; }
        ///<summary>
        /// 激活时间
        ///</summary>
        public long? ActivatedTime{ get; set; }
        ///<summary>
        /// 最后连接时间
        ///</summary>
        public long? LastConnectedTime{ get; set; }
        ///<summary>
        /// 注册时间
        ///</summary>
        public long? CreatedTime{ get; set; }
        ///<summary>
        /// 修改时间
        ///</summary>
        public long? UpdatedTime{ get; set; }
        ///<summary>
        /// 产品秘钥
        ///</summary>
        public string ProductSecret{ get; set; }
        ///<summary>
        /// 产品名称
        ///</summary>
        public string ProductName{ get; set; }
        ///<summary>
        /// 设备型号
        ///</summary>
        public string Model{ get; set; }
        ///<summary>
        /// 设备厂商
        ///</summary>
        public string Manufacturer{ get; set; }
        ///<summary>
        /// 是否开启动态注册,0:关闭,1:开启，开启动态注册的设备认证类型为一型一密，否则为一机一密
        ///</summary>
        public int? DynamicRegister{ get; set; }
    }
}
